<?php
namespace Common\Controller;

class CommonController extends \Think\Controller {
    function _initialize() {
        //根目录路径
        define('ROOT', getcwd() . '/');
        //样式URL
        define('STYLE_URL', __ROOT__ . '/Public/style/');
    }
}